package com.otod.sys.emp.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.otod.base.service.BaseService;
import com.otod.sys.emp.mapper.EmpDetailMapper;
import com.otod.sys.emp.service.IEmpDetailService;
import com.otod.sys.vo.AuapTEmpDetailVo;

@Service
public class EmpDetailServiceImpl extends BaseService implements IEmpDetailService {
	@Autowired
	EmpDetailMapper empDetailMapper;
	
	/**
	 * 新增
	 */
	public void insert(AuapTEmpDetailVo auapTEmpDetail){
		empDetailMapper.insert(auapTEmpDetail);
	}
	/**
	 * 修改
	 */
	public void update(Map<String, Object> map){
		empDetailMapper.update(map);
	}
	/**
	 * 删除
	 */
	public void deleteById(String id){
		empDetailMapper.deleteById(id);
	}
	
	/**
	 * 主键查询
	 */
	public AuapTEmpDetailVo getById(String id){
		return empDetailMapper.getById(id);
	}

}
